package com.joplus.housekeeper.core;

import com.joplus.housekeeper.BuildConfig;

/**
 * Created by tangdehao on 16/4/29.
 */
public class Config {


    public static final String TalkData = "16BBCFE7493A5C2F5EE1269EE8AFA872";

    public static final String SERVICE_PATH = BuildConfig.SERVICE_PATH;//服务


    public static final String CUSTOM_SERVICE_IMID = "kefu2";
    public static final String PHONE = "PHONE";
    public static final String ACCOUNTID = "accountId";
    public static final String FIRST_OPEN = "firstopen";
    public static final String APP_GUIDE = "app_guide";

    public static final String XMPP_HOST = BuildConfig.XMPP_HOST;
    public static final int XMPP_PROT = BuildConfig.XMPP_PORT;
    public static final String XMPP_SERVICE = BuildConfig.XMPP_SERVICE_NAME;
    public static String XMPP_ID = "";
    /**
     * 商户号
     */
    public static final String PARTNERID = "1309678801";
    /**
     * 商户秘钥
     */
    public static final String APP_KEY = "151e46061514435ee67201i827365311";


    /**
     * 等待支付
     */
    public static String WAIT_PAY = "100001";
    /**
     * 已支付
     */
    public static String HAD_PAY = "100002";
    /**
     * 已完成
     */
    public static String FINISH = "100003";
    /**
     * 已取消
     */
    public static String CANCEL = "100004";
    /**
     * 已失效
     */
    public static String DISABLE = "100005";


    /**
     * author wutingxi
     * time 2016/10/19 11:00
     * 新添加的状态
     * <p>
     * /
     * public static String REFUND = "100010";
     * <p>
     * /**
     * 法律协议url链接
     */
    public static String PROTOCAL = "http://www.joplus.cn/joLaw/index.html";

    //第一次打开发送聊天提示消息
    public static final String FIRST_SEND = "firstsend";


    //是否显示过工作时间提示
    public static final String IS_REMIND_SHOWED = "is_remind_showed";


    //是否登录过，用来在mainActivity中判断是否进入loginActivity
    public static final String IS_LOGINED = "islogined";


    //是否填写过用户的姓名，v1.4.4需求，用来判断用户是否填写过姓名
    public static final String Is_Saved_FirstName = "is_saved_firstName";


    /**
     * 得到是否为开发版本，false发布版本，true调试版本
     *
     * @return
     */
    public static Boolean getBuildDebug() {
        return BuildConfig.IS_DEBUG;
    }

    /**
     * 静音模式是否开启
     * false 关闭  true 开启
     *
     * @param
     */
    public static boolean isSilence = false;
}
